package com.taobao.search.constants;

public class GoodsIndexConstants {
    public static final String MAPPING_TEMPLATE = "{\n" +
            "  \"mappings\": {\n" +
            "    \"properties\": {\n" +
            "      \"goodsId\": {\n" +
            "        \"type\": \"integer\"\n" +
            "      },\n" +
            "      \"storeId\": {\n" +
            "        \"type\": \"integer\"\n" +
            "      },\n" +
            "      \"title\": {\n" +
            "        \"type\": \"text\",\n" +
            "        \"analyzer\": \"ik_max_word\",\n" +
            "        \"copy_to\": \"all\"\n" +
            "      },\n" +
            "      \"imgUrl\": {\n" +
            "        \"type\": \"keyword\",\n" +
            "        \"index\": false\n" +
            "      },\n" +
            "      \"price\": {\n" +
            "        \"type\": \"float\"\n" +
            "      },\n" +
            "      \"content\": {\n" +
            "        \"type\": \"text\"\n" +
            "      },\n" +
            "      \"remark\": {\n" +
            "        \"type\": \"text\",\n" +
            "        \"copy_to\": \"all\"\n" +
            "      },\n" +
            "      \"discount\": {\n" +
            "        \"type\": \"integer\"\n" +
            "      },\n" +
            "      \"types\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"shangpu\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"url\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"monthSale\": {\n" +
            "        \"type\": \"integer\"\n" +
            "      },\n" +
            "      \"foodTag\": {\n" +
            "        \"type\": \"text\",\n" +
            "        \"analyzer\": \"ik_max_word\"\n" +
            "      },\n" +
            "      \"count\": {\n" +
            "        \"type\": \"integer\"\n" +
            "      },\n" +
            "      \"zhekou\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"daoshou\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"videoUrl\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"imgList\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"evaluateId\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"detailsId\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"recommendId\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"logistics\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"all\": {\n" +
            "        \"type\": \"text\",\n" +
            "        \"analyzer\": \"ik_max_word\"\n" +
            "      }\n" +
            "    }\n" +
            "  }\n" +
            "}";
}